package com.kuns.subject.domian.convert;

import com.kuns.subject.domian.entity.SubjectAnswerBO;
import com.kuns.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectRadioConverter {

    SubjectRadioConverter INSTANCE = Mappers.getMapper(SubjectRadioConverter.class);

    SubjectRadio convertBoTiEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertEntityListToBoList(List<SubjectRadio> subjectRadioList);

}
